package com.fds.demo.wxay.service;

import com.alipay.api.AlipayApiException;
import com.fds.demo.wxay.config.WxPayConf;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author: fds
 * @date: 2019/11/1
 * @description: 微信支付service
 */
@Service
public class WxPayServiceImpl {

    /**
     * 注入 日志.
     */
    private static final org.slf4j.Logger LOGGER = LoggerFactory.getLogger(WxPayServiceImpl.class);

    /**
     * 支付配置文件.
     */
    @Autowired
    private WxPayConf wxPayConf;

    /**
     * pc支付service.
     * @param response 响应体，返回form表单数据
     * @throws AlipayApiException
     * @throws IOException
     */
    public void pcPay(final HttpServletResponse response, final String orderNo)
            throws AlipayApiException, IOException {
    }
}
